public with sharing class vfFinanceController 
{
    // ApexPages.StandardSetController must be instantiated   
     // for standard list controllers    
     public ApexPages.StandardSetController setCon {
        get {
            if(setCon == null) {
                setCon = new ApexPages.StandardSetController(Database.getQueryLocator(
                    [SELECT Name, Id FROM Finance_Agreement__c]));
            }
            return setCon;
        }
        set;
    }

    // Initialize setCon and return a list of records    
    public List<Finance_Agreement__c> getOpportunities() {
        return (List<Finance_Agreement__c>) setCon.getRecords();
    }


}